package com.mk.settlement.mappers;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.mk.settlement.model.SettlementSchedulerCenter;

public interface SettlementSchedulerCenterMapper {

    int updateScheduler(@Param(value = "taskName")String taskName, @Param(value = "currentMachine")String currentMachine);
    
    int updateSettlementSchedulerCenter(SettlementSchedulerCenter ssc);

    int insert(SettlementSchedulerCenter ssc);
    
    int deleteByPrimaryKey(Long id);

    List<SettlementSchedulerCenter>  findList(  
    		@Param(value = "taskName") String taskName,
    		@Param(value = "beginTime") String beginTime,
    		@Param(value = "endTime") String endTime,
    		@Param(value = "start") Integer start,
    		@Param(value = "pageSize") Integer pageSize );
    
    int selectCount(
    		@Param(value = "taskName") String taskName,
    		@Param(value = "beginTime") String beginTime,
    		@Param(value = "endTime") String endTime );
}
